package com.yunhe.option.domain.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Relationship;

import java.io.Serializable;
import java.util.List;

/**
 * 发电电价对象
 * @desc 发电电价对象定义
 * @author liuronglei
 */
@ApiModel(value = "CostPrice", description = "发电电价对象")
@NodeEntity
public class CostPrice implements Serializable {
    @ApiModelProperty(value = "发电电价ID")
    @GraphId
    private Long id;
    @ApiModelProperty(value = "发电电价name")
    private String name;
    @ApiModelProperty(value = "发电电价名称")
    private String title;
    @ApiModelProperty(value = "地区ID")
    private List<Long> areaList;
    @ApiModelProperty(value = "用电性质")
    private String property;
    @ApiModelProperty(value = "适用电压等级Code")
    private List<Long> voltageLevelCodes;
    @ApiModelProperty(value = "季节电价")
    @Relationship(type = "HAS_SEASON_PRICE")
    private List<SeasonPrice> seasonPrice;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<Long> getAreaList() {
        return areaList;
    }

    public void setAreaList(List<Long> areaList) {
        this.areaList = areaList;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public List<Long> getVoltageLevelCodes() {
        return voltageLevelCodes;
    }

    public void setVoltageLevelCodes(List<Long> voltageLevelCodes) {
        this.voltageLevelCodes = voltageLevelCodes;
    }

    public List<SeasonPrice> getSeasonPrice() {
        return seasonPrice;
    }

    public void setSeasonPrice(List<SeasonPrice> seasonPrice) {
        this.seasonPrice = seasonPrice;
    }
}
